package org.hydrakyoufeng.stuplatform.exception;

import lombok.Data;

@Data
public class ProcessException extends RuntimeException{

    private final int code;

    public ProcessException() {
        this(400,"业务流程错误");
    }

    public ProcessException(String msg) {
        this(400,msg);
    }

    public ProcessException(int code,String msg) {
        super(msg);
        this.code = code;
    }

}